import App from './App'

// 导入 pinia 实例
import pinia from './stores'
import {
	createSSRApp
} from 'vue'
import uviewPlus from '@/uni_modules/uview-plus' //uviewPlus  1

export function createApp() {
	const app = createSSRApp(App)
	// 使用 pinia
	app.use(pinia)
	app.use(uviewPlus) //uviewPlus  2

	return {
		app
	}
}